package com.tiger.log.common.exception.member;

import com.tiger.log.common.enums.ResponseStatus;
import com.tiger.log.common.exception.base.BaseException;

/**
 * @ClassName InvalidPrimaryKeyFromTargetJsonException
 * @Description TODO
 * @Author huxuehao
 **/
public class InvalidPrimaryKeyException extends BaseException {
    public InvalidPrimaryKeyException(int code, String module, String method, String message) {
        super(code, module, method, message);
    }

    public InvalidPrimaryKeyException(String module, String method, String message) {
        super(ResponseStatus.InvalidPrimaryKey.code, module, method, message);
    }

    public InvalidPrimaryKeyException(String message) {
        super(ResponseStatus.InvalidPrimaryKey.code, null, null, message);
    }

    public InvalidPrimaryKeyException() {
        super(ResponseStatus.InvalidPrimaryKey.code, null, null, ResponseStatus.InvalidPrimaryKey.msg);
    }
}